package com.neuedu.corejava.ch9;

import java.util.Scanner;

public class PhoneNumberString {

	public static void main(String[] args) {
		
		//输入一个手机号码，将中间四位使用星号替代。
		Scanner sc=new Scanner(System.in);
		String phone=sc.nextLine();
		StringBuilder buffer1=new StringBuilder(phone);
		
		buffer1.replace(3, 7, "****");
		System.out.println(buffer1.toString());

	}

}
